<h1>Editing administrator</h1>

<%= error_messages_for :administrator %>

<% form_for(@administrator) do |f| %>
  <p>
    <b>Project</b><br />
    <%= f.text_field :project_id %>
  </p>

  <p>
    <b>Person</b><br />
    <%= f.text_field :person_id %>
  </p>

  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= link_to 'Show', @administrator %> |
<%= link_to 'Back', administrators_path %>
